<!DOCTYPE HTML>
<html>
	<head>
		<meta charset="utf-8">
		<meta name="viewport" content="maximum-scale=1.0,minimum-scale=1.0,user-scalable=0,width=device-width,initial-scale=1.0"/>
		<meta name="format-detection" content="telephone=no,email=no,date=no,address=no">
    	<title>统战成员学习平台</title>
	    <link rel="stylesheet" type="text/css" href="../../css/base.css" />
	    <link rel="stylesheet" type="text/css" href="../../css/discovery.css" />
	</head>
	<body>
		<div id='app' class="vote_page" style="display:none" v-show="true">
			<div class="vote_type">
				<div><span @click="selectType(1)" :class="{'active': typeIndex===1}">所有投票</span></div>
				<div><span @click="selectType(2)" :class="{'active': typeIndex===2}">我参与的</span></div>
			</div>
			<ul class="research_list">
				<li>
					<div class="top ui_border_b">
						<span class="label researching">进行中</span>
						参与人数：112
					</div>
					<p class="title">习近平十八大讲话好不好...</p>
					<div class="action ui_border_t">
						截止时间：2017-9-9 <span @click="openWin('vote_result_win')" tapmode="tap">参与</span>
					</div>
					<div class="bottom"></div>
				</li>
				<li>
					<div class="top ui_border_b">
						<span class="label researching">进行中</span>
						参与人数：112
					</div>
					<p class="title">习近平十八大讲话好不好...</p>
					<div class="action ui_border_t">
						截止时间：2017-9-9 <span @click="openWin('vote_result_win')" tapmode="tap">参与</span>
					</div>
					<div class="bottom"></div>
				</li>
				<li>
					<div class="top ui_border_b">
						<span class="label researched">已截止</span>
						参与人数：112
					</div>
					<p class="title">习近平十八大讲话好不好习近平十八大讲话好不好习近平十八大讲话好不好</p>
					<div class="action ui_border_t">
						截止时间：2017-9-9 <span @click="openWin('vote_result_win')" class="result" tapmode="tap">查看结果</span>
					</div>
					<div class="bottom"></div>
				</li>
			</ul>
		</div>
		<script type="text/javascript" src="../../script/api.js"></script>
		<script type="text/javascript" src="../../script/vue.min.js"></script>
		<script type="text/javascript" src="../../script/common.js"></script>
		<script type="text/javascript" src="../../script/layer_mobile/layer.js"></script>
		<script type="text/javascript">
		    new Vue({
				el: '#app',
		     	data: {
					typeIndex: 1
		     	},
				mounted: function() {
		        	var $this = this;
		        	apiready = function() {
						api.parseTapmode();
						$this.init();
                	}
		    	},
		    	methods: {
					init: function() {

					},
					selectType: function(i) {
						this.typeIndex = i
					}
		    	}
		    });
		</script>
	</body>
</html>
